package io.lckgroup.modules.lck.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.lckgroup.modules.lck.entity.CommonFeedbackEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import javax.validation.constraints.Max;
import java.util.List;
import java.util.Map;

/**
 * 用户反馈表
 *
 * @author srq
 * @email siruiqi@siruiqi.com
 * @date 2020-01-19 19:14:38
 */
@Mapper
public interface CommonFeedbackDao extends BaseMapper<CommonFeedbackEntity> {
    /**
     * @param page
     * @param merchantName
     * @return 反馈数据
     */
    IPage<Map<String, Object>> selectCommonFeedback(Page<?> page, String merchantName);

    List<Map<String,Object>> selectCommonFeedbackAndMerchantInfo(Long[] id);

}
